import { request } from "@ruifox-cms/utils";

export function getProcessList(params) {
  return request({
    // baseURL: process.env.NODE_ENV == 'development' ? '/9111_api' : '/api',
    url: "/workflow/bpmn/getBpmnListByGroupIdAndName",
    method: "get",
    params,
  });
}
// 获取工作流任务详情
export function getTaskDetail(params) {
  return request({
    url: "/workflow/processTask/selectById",
    method: "get",
    params,
  });
}
// 获取流程记录
export function getProcessStatus(params) {
  return request({
    // baseURL: process.env.NODE_ENV == 'development' ? '/9111_api' : '/api',
    url: "/workflow/processInstance/getProcessStatus",
    method: "get",
    params,
  });
}
